﻿using System;
using System.Security.Principal;

namespace good1.ApplicationServices.Interface
{
    public interface ISecurityContextService
    {
        string UserEmail { get; set; }
        int? UserId { get; set; }
        string FriendlyName { get; set; }
        DateTime? LastVisit { get; set; }
        void LogIn(string userName, bool rememberMe);
        void LogOut();
        GenericPrincipal GetPrincipal();
    }
}
